package lab02.Test07;

/**
 * Created by lenovo on 2017/10/23.
 */
public class Test {
    public static void main(String[] args) {
        Person a=new Person();
        a.age="年龄：19";
        a.name="姓名：美少女";
        a.id="身份证号：123456777";
        Student b=new Student();
        b.name="美少女";
        b.age="19";
        b.id="123456777";
        b.school="学校：复旦大学";
        b.sno="学号：999999";
        System.out.println(a.getInfo());
        System.out.println(b.getInfo());

    }
}
